package com.sailing.lianxi.common;

public class Constants {

	public static final PropertiesUtils propertiesUtils = new PropertiesUtils("application.properties");
	
	/**
	 * kafka分区数
	 */
	public final static Integer KAFKA_PARTITION_NUM = propertiesUtils.getInteger("KAFKA_PARTITION_NUM");
	
	/**
	 * kafka分区备份数
	 */
	public final static Integer KAFKA__REPLICA_NUM = propertiesUtils.getInteger("KAFKA__REPLICA_NUM");
	
	/**
	 *kafka url 
	 */
	public final static String KAFKA_ZOOKEEPER_URL = propertiesUtils.getProperty("KAFKA_ZOOKEEPER_URL");
	
	/**
	 * kafka servers
	 */
	 public final static String KAFKA_SERVERS = propertiesUtils.getProperty("KAFKA_SERVERS");
	 
	 /**
	  * kafka topic
	  */
	 public final static String TOPIC_NAME = "test001";
	
}
